372c9d45779fa176de821a5c590ff05170cd87d9,core/src/main/java/org/ldaptive/provider/jndi/JndiConnection.java,JndiSearchIterator,getSearchControls,#SearchRequest#,822
Before Change
if (searchScope != -1) {
ctls.setSearchScope(searchScope);
}
ctls.setTimeLimit(Long.valueOf(sr.getTimeLimit()).intValue());
ctls.setCountLimit(sr.getSizeLimit());
ctls.setDerefLinkFlag(false);
// note that if returning obj flag is set to true, object contexts on the
After Change
if (searchScope != -1) {
ctls.setSearchScope(searchScope);
}
ctls.setTimeLimit((int) sr.getTimeLimit().toMillis());
ctls.setCountLimit(sr.getSizeLimit());
ctls.setDerefLinkFlag(false);
// note that if returning obj flag is set to true, object contexts on the